package com.xii.eduservice.entity.excel;


        import com.alibaba.excel.annotation.ExcelProperty;
        import lombok.AllArgsConstructor;
        import lombok.Data;
        import lombok.NoArgsConstructor;
        import lombok.ToString;

/**
 * @description: 操作excel的实体类  对应excel前两列
 *
 * @author  wangxihao
 * @email wangxh0108@163.com
 **/
@Data
@AllArgsConstructor
@NoArgsConstructor
@ToString
public class SubjectData {
    @ExcelProperty(index = 0)  //读取的excel文件中的第一列
    private String oneSubjectName;
    @ExcelProperty(index = 1) //读取的excel文件中的第二列
    private String twoSubjectName;
}
